package 爬虫;

import java.io.Serializable;

/**
 * 参数信息类
 */
public class Product implements Serializable{

	private static final long serialVersionUID = 3675359112152794060L;

	private String startTime;//起始时间 格式2016-04-21
	private String endTime;//终止时间
	private String p_index;//市场详细位置(2543746 代表 湖南长沙马王堆蔬菜批发市场)
	private String par_p_index;//市场省份位置(43 代表 湖南)
	private String page;//当前页码
	private String par_craft_index;//产品类别(13079 代表 畜产品)
	private String craft_index;//产品编号(13233 代表 猪肉)

	public Product() {
		super();
	}
	public Product(String startTime, String endTime, String p_index,
				   String par_p_index, String page, String par_craft_index,
				   String craft_index) {
		super();
		this.startTime = startTime;
		this.endTime = endTime;
		this.p_index = p_index;
		this.par_p_index = par_p_index;
		this.page = page;
		this.par_craft_index = par_craft_index;
		this.craft_index = craft_index;
	}
	public String getStartTime() {
		return startTime;
	}
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	public String getEndTime() {
		return endTime;
	}
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	public String getP_index() {
		return p_index;
	}
	public void setP_index(String p_index) {
		this.p_index = p_index;
	}
	public String getPar_p_index() {
		return par_p_index;
	}
	public void setPar_p_index(String par_p_index) {
		this.par_p_index = par_p_index;
	}
	public String getPage() {
		return page;
	}
	public void setPage(String page) {
		this.page = page;
	}
	public String getPar_craft_index() {
		return par_craft_index;
	}
	public void setPar_craft_index(String par_craft_index) {
		this.par_craft_index = par_craft_index;
	}
	public String getCraft_index() {
		return craft_index;
	}
	public void setCraft_index(String craft_index) {
		this.craft_index = craft_index;
	}
	@Override
	public String toString() {
		return "Product [startTime=" + startTime + ", endTime=" + endTime
				+ ", p_index=" + p_index + ", par_p_index=" + par_p_index
				+ ", page=" + page + ", par_craft_index=" + par_craft_index
				+ ", craft_index=" + craft_index + "]";
	}
}
